<%@page import="com.switz.agendacita.vo.Login"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Servicios</title>
<script src="${pageContext.request.contextPath}/resources/js/dhtmlxSuite/dhtmlxDataView/codebase/dhtmlxdataview.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/dhtmlxSuite/dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/js/dhtmlxSuite/dhtmlxDataView/codebase/dhtmlxdataview.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/agregarServicios/agregarServicios.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/dhtmlxSuite/libCompiler/datastore.js"></script>



<% 
    Login idempresa=(Login)session.getAttribute("empresa");
    if (idempresa==null){
        response.sendRedirect("registrarEmpresa.jsp");
    }else{
        out.print("<input type='text' value='"+idempresa.getIdEmpresa()+"' id='Empresa' name='Empresa'/>");
    }
%>

</head>
<body onload="doOnLoad()">
		
	<table border="0" cellspacing="5" cellpadding="5">
    <tr><td>
        <div id="data_container1" style="border:1px solid #A4BED4; background-color:white;width:245px;height:390px;"></div>                
        
    </td><td>
        <input type="button" name="" value="move ->" onclick="data1.move(data1.getSelected(),0, data2)"><br>
        <input type="button" name="" value="<- move" onclick="data2.move(data2.getSelected(),0, data1)">
    </td><td>
        <div id="data_container2" style="border:1px solid #A4BED4; background-color:white;width:245px;height:390px;"></div>                
    </td></tr>    
</table>
</body>
</html>